package com.ruoyi.used.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评价对象 used_appraise
 * 
 * @author ruoyi
 * @date 2020-07-11
 */
public class UsedAppraise extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评价id */
    private Long apId;

    /** 商品外键 */
    @Excel(name = "商品外键")
    private Long deId;

    /** 买家图片 */
    @Excel(name = "买家图片")
    private String apImg;

    /** 商品评分（分） */
    @Excel(name = "商品评分", readConverterExp = "分=")
    private Long apDescribe;

    /** 商品评价 */
    @Excel(name = "商品评价")
    private String detailed;

    /** 物流服务(服务) */
    @Excel(name = "物流服务(服务)")
    private Long logistics;

    /** 服务态度(分) */
    @Excel(name = "服务态度(分)")
    private Long attitude;

    /** 评价时间 */
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    /** 评价用户 */
    @Excel(name = "评价用户")
    private Long uid;

    public void setApId(Long apId) 
    {
        this.apId = apId;
    }

    public Long getApId() 
    {
        return apId;
    }
    public void setDeId(Long deId) 
    {
        this.deId = deId;
    }

    public Long getDeId() 
    {
        return deId;
    }
    public void setApImg(String apImg) 
    {
        this.apImg = apImg;
    }

    public String getApImg() 
    {
        return apImg;
    }
    public void setApDescribe(Long apDescribe) 
    {
        this.apDescribe = apDescribe;
    }

    public Long getApDescribe() 
    {
        return apDescribe;
    }
    public void setDetailed(String detailed) 
    {
        this.detailed = detailed;
    }

    public String getDetailed() 
    {
        return detailed;
    }
    public void setLogistics(Long logistics) 
    {
        this.logistics = logistics;
    }

    public Long getLogistics() 
    {
        return logistics;
    }
    public void setAttitude(Long attitude) 
    {
        this.attitude = attitude;
    }

    public Long getAttitude() 
    {
        return attitude;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("apId", getApId())
            .append("deId", getDeId())
            .append("apImg", getApImg())
            .append("apDescribe", getApDescribe())
            .append("detailed", getDetailed())
            .append("logistics", getLogistics())
            .append("attitude", getAttitude())
            .append("time", getTime())
            .append("uid", getUid())
            .toString();
    }
}
